package com.atguigu.gulimall.member.service;

import com.atguigu.gulimall.member.vo.AccessToken;
import com.atguigu.gulimall.member.vo.UserLoginVo;
import com.atguigu.gulimall.member.vo.UserRegistVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.member.entity.MemberEntity;

import java.util.Map;

/**
 * 会员
 *
 * @author wxl
 * @email wxl@gmail.com
 * @date 2020-06-30 11:37:13
 */
public interface MemberService extends IService<MemberEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void regist(UserRegistVo vo);

    MemberEntity login(UserLoginVo vo);

    MemberEntity oauthLogin(AccessToken accessToken);
}

